import { enableRedirectResponseInterceptor, RedirectResponseInterceptor } from 'geminis-react';
import { RequestConfig } from '@umijs/max';

enableRedirectResponseInterceptor();

export const request: RequestConfig = {
  responseInterceptors: [[RedirectResponseInterceptor, RedirectResponseInterceptor]],
};